home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / program / memmap.arc / MEMMAPST.TXT
Text File  |  1985-11-20  |  6KB  |  126 lines

  1.  
  2.                        ATARI 520 ST MEMORY MAP
  3.  
  4.  FF8000-FFFFFF                         I/O ASSIGNMENTS
  5.  
  6.  FFFC06                            6580 ACIA #2 (MIDI)
  7.  FFFC00                            MFP 68901 Peripheral Controller
  8.  FF8800                            YM2149 (AY-3-8910) Sound
  9.  FF8600                            3H-2130 DMA/FDC
  10.  FF8400                            RESERVED
  11.  FF8200                            2H-2123 Video Controller
  12.  FF8000                            Data Configuration
  13.  
  14.  FF0000-FF7FFF                     UNUSED
  15.  FC0000-FEFFFF                     192K System Rom
  16.  FA0000-FBFFFF                     128K Expansion Cartridge
  17.  080000-F9FFFF                     UNUSED
  18.  000000-07FFFF                     512K RAM
  19.  078300-07FFFF                     32K Video Memory
  20.  
  21.  
  22.  
  23.  00242eW                           YX Postion of mouse
  24.  00241eW                           Y position of mouse
  25.  00241cW                           X position of mouse
  26.  002418B                           Left/Right mouse buttons
  27.  
  28.                                    SYSTEM VARIABLES
  29.  
  30.  0004c4                            _drvbits = 3 if floppies
  31.  0004bc                            _hz_200 = 200 Hz timer tick
  32.  0004b4                            buf1 (2 buffer-list pointers)
  33.  0004a6W                           _nflops = 0,1, or 2 floppies
  34.  0004a2                            savptr
  35.  00049ew                           _____md  (for GEMDOS)
  36.  00048e                            themd
  37.  000484B                           conterm  attribute bits
  38.                                    # 0 enable keyclick
  39.                                    # 1 enable key-repeat
  40.                                    # 2 enable bell on ^G
  41.  000482W                           _cadload
  42.  00047e                            hdv_mediach (h.disk media cha)
  43.  00047a                            hdv_boot (to boot from h.disk)
  44.  000476                            hdv_rw (h.disk read/write)
  45.  000472                            hdv_bpb (h.disk bios param bl)
  46.  00046e                            hdv_dsb (h.disk state block)
  47.  00046a                            hdv_init (h.disk initialize)
  48.  000466                            _frclock (vert. blank count)
  49.  000462                            _vbclock (vert/bl/int/count)
  50.  00045e                            screenpt nextptr b/screen mem
  51.  00045a                            colorptr pointer to pallette
  52.  000456                            _vblqueue pointer to vblank
  53.  000454W                           nvbls number of pointers " "
  54.  000452W                           vblsem vert/blank semaphore
  55.  00044e                            _v_bas_ad  ptr base screen mem
  56.  00044cW                           sshiftmd  shadow for shiftmd
  57.                                    =0 320x200x4 (low res)
  58.                                    =1 640x200x2 (med res)
  59.                                    =2 640x400x1 (hi res mono)
  60.  00044aB                           defshiftmd default video res
  61.  000448W                           palmode=0 NTSC, =1 PAL video
  62.  000446W                           _bootdev  device # booted from
  63.  000444W                           _fverify  floppy verify flag
  64.  000442W                           _timr_ms  =$14=20d (50Hz)
  65.  000440W                           seekrate default floppy seek
  66.                                    =0 6ms, =1 12ms,
  67.                                    =2 2ms, =3  3ms (default)
  68.  00043a                            memval2 = $237698aa
  69.  000436                            _memtop top of available mem
  70.  000432                            _membot bottom of "       "
  71.  00043a                            memval2 = $237698aa
  72.  000436                            _memtop top of available mem
  73.  000432                            _membot bottom of "       "
  74.  00042e                            phystop physical top of RAM
  75.  00042a                            resvector reset bailout vector
  76.  000426                            resvalid = $31415926
  77.  000424B                           memcntlr memory configuration
  78.                                    =0 256K, =4 512K
  79.                                    =5 1024K (2 banks)
  80.  000420                            memvalid = $752019f3
  81.  00040c                            etv_xtra log.vectors $103-107
  82.  000408                            etv_term process/term $102
  83.  000404                            etv_critic critcal/err $101
  84.  000400                            etv_timer timer handoff $100
  85.  
  86. All addresses are for longwords (32 bits)
  87. unless suffixed with W (word=16bits) or
  88. B (byte=8bits).
  89.  
  90.                                    VECTORS
  91.   000000-00003ff                   Exception Vectors
  92.   000100-0003ff                    192 User-Defined Vectors
  93.   0000c0-0000ff                    Unassigned, Reserved
  94.   000080-0000bf                    Trap #0-15 Instr Vectors
  95.   000064-00007f                    Level 1-7 Interr Vectors
  96.   000060                           Spurious Interrupt
  97.   000030-00005f                    Unassigned, Reserved
  98.   00002c                           Opcode 1111 Emulation
  99.   000028                           Opcode 1010 Emulation
  100.   000024                           Vector 9 - Trace
  101.   000020                           Vector 8 - Privilege Violation
  102.   00001c                           Vector 7 - TRAPV instruction
  103.   000018                           Vector 6 - CHK instruction
  104.   000014                           Vector 5 - Divide by Zero
  105.   000010                           Vector 4 - Illegal Instruction
  106.   00000c                           Vector 3 - Address Error
  107.   000008                           Vector 2 - Bus Error
  108.   000004                           Reset-Initial Program Counter
  109.   000000                           Reset-Initial Stack Pointer
  110.  
  111.  
  112.   Comment.........
  113.  
  114.     Note that ROM Addresses are at TOP of 68000 Memory to allow 
  115.     user RAM of approx 15.75 Meg.
  116.  
  117.     Note screen RAM (32K) resides at 480K to 512K in memory. Right
  118.     smack in the middle of RAM huh !
  119.  
  120.     Note I/O & Devices are also at TOP of Memory.
  121.  
  122.     ABUSE ST BBS 817 634-7480 300/1200/2400 60+ megs
  123.  
  124.  
  125.  
  126. E